package com.centaline.androidsalesblog.api;

import com.centaline.androidsalesblog.base.BaseApi;
import com.centaline.androidsalesblog.constants.AppConstant;
import com.centaline.androidsalesblog.model.responseobject.AdRo;
import com.centanet.framework.interfaces.IResponseListener;

/**
 * 广告
 * Created by guilin on 16/2/3.
 */
public class AdApi extends BaseApi<AdRo> {

    public AdApi(Class<?> tag, Class<AdRo> aClass, IResponseListener<AdRo> iResponseListener) {
        super(tag, aClass, iResponseListener);
    }

    @Override
    protected void setParams() {

    }

    @Override
    protected String getIp() {
        return AppConstant.AdLink;
    }

    @Override
    protected String getPath() {
        return "";
    }

    @Override
    protected boolean getShouldCache() {
        return true;
    }
}
